//
//  YMCNetWorkErrorView.h
//  Ymc
//
//  Created by 孙强 on 2022/10/27.
//  Copyright © 2022 YMC. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface YMCNetWorkErrorView : UIView

@property (nonatomic, copy) void(^netWorkButtonBlock)();

/**
 刷新提示页面
@param type 1默认断网 2无数据
 */
- (void)updateType:(NSInteger)type;

@property (nonatomic, weak) UIView *errorBackView;
@property (nonatomic, weak) UIImageView *imageView;
@property (nonatomic, weak) UILabel *label;
@property (nonatomic, weak) UIButton *button;

@property (nonatomic, weak) UIView *noDataBackView;
@property (nonatomic, weak) UIImageView *noDataimageView;
@property (nonatomic, weak) UILabel *noDatalabel;

@property (nonatomic, strong) UIImage *noDataimage;

@end

NS_ASSUME_NONNULL_END
